package com.mengma.ec.service.portal;

import com.mengma.ec.commons.ServerResponse;
import com.mengma.ec.vo.CartProductVo;
import com.mengma.ec.vo.CartVo;

import java.util.List;

/**
 * @Auther: xixi
 * @Date: 2018/9/20 09:22
 * @Description:
 */
public interface ICartService {

    ServerResponse<CartVo> findAllList(Integer id);

    ServerResponse<CartVo> add(Integer userId, Integer productId, Integer count);

    ServerResponse<CartVo> updata(Integer userId, Integer productId, Integer count);

    ServerResponse<CartVo> delete(Integer userId, String productIds);
}
